<!--主页面-->
<div class="container-fluid">
    <!--查询区域-->
    <div class="row ikg-row">
        <div class="panel panel-default ikg-panel">
            <div class="panel-body">
            </div>
        </div>
    </div>
    <!--工具栏-->
    <div class="row ikg-row">
        <div class="col-sm-12 ikg-col">
            <div id="toolbar" class="btn-group">
                <button type="button" class="btn btn-success btn-sm"
                        data-bind="click:fnAdd">
                    <i class="fa fa-plus fa-lg" aria-hidden="true"></i>
                    <span class="hidden-xs hidden-sm"> 新增</span>
                </button>
            </div>
        </div>
    </div>
    <!--列表-->
    <div class="row ikg-row">
        <div class="col-sm-12">
            <table data-bind="tableView:tableViewModel"></table>
        </div>
    </div>
</div>
<div id="demoDlg" class="modal hide" tabindex="-1" role="dialog"
     data-bind="template:{name:'detailsTemplate',data:detailsModel},
                ikgModal:{ backdrop: 'static', keyboard: false, show: modalVisible },
                css:{display:modalVisible?'block':'none'}"></div>
<!--详细页面模板-->
<script id="detailsTemplate" type="text/html">
    <div class="modal-dialog" style="width: 560px" role="document">
        <div class="modal-content">
            <!-- header -->
            <div class="modal-header ikg-modal-header" id="modalHeader">
                <button type="button" class="close ikg-close" data-bind="click: close">&times;</button>
                <span class="modal-title ikg-modal-title" data-bind="text:title"></span>
            </div>
            <div class="modal-body">
            </div>
            <div class="modal-footer" id="modalFooter">
                <button type="button" class="btn btn-success ikg-btn-12" data-bind="click:upload">
                    <i class="fa fa-save fa-lg"></i> 保存
                </button>
                <button type="button" class="btn btn-default ikg-btn-12" data-bind="click:close">
                    <i class="fa fa-close"></i> 关闭
                </button>
            </div>
        </div>
    </div>
</script>